class AddNonPurchasableToPhotosAndVideos < ActiveRecord::Migration
  def self.up
    remove_column :photos, :is_purchasable
    remove_column :videos, :is_purchasable
    add_column    :photos, :non_purchasable, :boolean
    add_column    :videos, :non_purchasable, :boolean
  end

  def self.down
    add_column    :photos, :is_purchasable
    add_column    :videos, :is_purchasable
    remove_column :photos, :non_purchasable
    remove_column :videos, :non_purchasable
  end
end
